package com.partners.dao.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class RolePermissionDTO {

  private List<RolePermission> list;


    @Data
    public static class RolePermission {

        @JsonProperty("role_id")
        private Integer roleId;

        private Integer pid;

    }

    @Override
    public String toString() {
        return "RolePermissionDTO{" +
            "list=" + list +
            '}';
    }
}
